<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Ramda</title>
</head>
<body>
    <script src="../ramda.min.js"></script>
    <script>
        let applySpec = R.applySpec([
            R.add(3),
            R.multiply(2)
        ]);
        console.log( applySpec(2, 4) ); // [5, 4]

        let applySpec2 = R.applySpec({
            sum: R.add(3),
            multiply: R.multiply(2)
        });
        console.log( applySpec2(2, 4) ); // {sum: 5, multiply: 4}
    </script>
</body>
</html>